package com.zmj.sy.mom.srv.aps.bean.vo.workQueue;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Getter
@Setter
public class WorkQueueGanttChartReqVo {

    @ApiModelProperty("订单号")
    private List<String> orderNos;

    @ApiModelProperty("工序列表")
    private List<String> phases;

    @ApiModelProperty("工作区")
    private String workArea;

    @ApiModelProperty("工作组ID")
    private List<Integer> groupIds;

    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("对比方式")
    private Map<String,String> compareType = new HashMap<>();

    //新加
    @ApiModelProperty("工位ID")
    private Integer stationId;

    @ApiModelProperty("工位编号")
    private String stationCode;

    @ApiModelProperty("工位名称")
    private String stationName;

    @ApiModelProperty("计划数量")
    private Integer planCount;
    @ApiModelProperty("执行状态 1等待  2 就绪 3 执行中  4 完工")
    private Integer status;

    @ApiModelProperty("报工数量")
    private Integer finishCount;

    @ApiModelProperty("达成率")
    private Double finishRate;



}
